Node-RED block in Snap4City Microservice library node-red-contrib-snap4city-user is "address-poi-search-by-text-usr">

it allows to retrieve a list of street addresses and service names based on a text search. The search may be filtered excluding POIs and to be within a maximum distance from a GPS position.

Inputs

A JSON with these parameters:
search string
the keywords separated with spaces that have to match with any textual description associated with an entity.
maxresults number
maximum number of results to be returned (if parameter is missing 100 is assumed), if it is 0 all results are returned

Outputs

  1. ServiceUri Array
    Returns an array containing the servicesUri of each service found
  2. GeoJSON Results
    A GeoJSON FeatureCollection object with the matching objects

Details

The node can receive a JSON with the parameters described in the Inputs section and with them generate the output JSON. If the values are not present in the input JSON, these are read by those in the configuration. If they are not present in either part, an error is generated for the necessary parameters.